Skip to content

Update to SDL 3.4.22 - #53

Merged
MasonRemaley merged 2 commits into
mainfrom
jayschwa/sdl-3.4.20
Dec 4, 2026
Merged

MasonRemaley merged 2 commits into
mainfrom
jayschwa/sdl-3.4.20

Conversation

@jayschwa

Copy link
Copy Markdown
Collaborator

The upstream build config added:

  • HAVE_PTHREAD_CONDATTR_SETCLOCK
  • HAVE_SEM_CLOCKWAIT
  • HAVE_SEM_CLOCKWAIT_NP

It looks like pthread_condattr_setclock is the only one with long-standing support in both glibc and musl, so it's the only one I added to this project's build config.

@jayschwa

Copy link
Copy Markdown
Collaborator Author

As an aside, it sure would be nice if the Zig build system supported target probes (e.g. "does header exist", "does symbol exist", etc) like CMake.

The upstream build config added:

- `HAVE_PTHREAD_CONDATTR_SETCLOCK`
- `HAVE_SEM_CLOCKWAIT`
- `HAVE_SEM_CLOCKWAIT_NP`

It looks like `pthread_condattr_setclock` is the only one with
long-standing support in both glibc and musl, so it's the only one I
added to this project's build config.
@jayschwa
jayschwa force-pushed the jayschwa/sdl-3.4.20 branch from 989401e to cdc41ac Compare December 2, 2026 04:04
@jayschwa jayschwa changed the title Update to SDL 3.4.20 Update to SDL 3.4.22 Dec 2, 2026
@MasonRemaley

Copy link
Copy Markdown
Contributor

Sorry for the delay on this will get to it soon!

@MasonRemaley

Copy link
Copy Markdown
Contributor

LGTM!

@MasonRemaley
MasonRemaley merged commit e5d93be into main Dec 4, 2026
9 checks passed
@MasonRemaley

Copy link
Copy Markdown
Contributor

Good idea about checking for headers, I'll think more about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants